package com.xiye.common.entity;

import java.io.Serializable;

/**
 * @author 西野
 * @version V1.0
 * @title CityMessage.java
 * @package com.xiye.common.entity
 * @description 根据IP地址查询对应的省市区信息
 * @date 2018-08-17
 */
public class CityMessage implements Serializable {

    /*
     * mob文档地址http://api.mob.com/product/api/detail/11
     *
     * JSON返回示例：
        {
            "msg": "success",
            "result": {
                "city": "上海",
                "country": "中国",
                "ip": "222.73.199.34",
                "province": "上海"
            },
            "retCode": "200"
        }
     */

    String country;// 国家

    String province;// 省

    String city;// 市

    String district;// 区

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }
}
